#include <stdio.h> 
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>

#include "common_func.h"
#include "lcd.h"

int  simu_flag;


int main(int argc, char** argv)
{
	char buf[16];
	simu_flag = RegRead(0xbf20f500);
	printf("start\n");
	while(lcd_busy());
	lcd_set_color(0xf800);
	lcd_set_window(90, 90, 210, 110);
	lcd_set_rect(100, 100, 200, 105);
	lcd_start();
	while(lcd_busy());
	lcd_set_window(45, 45, 65, 65);
	lcd_set_circle(50, 50);
	lcd_start();
	while(lcd_busy());
	printf("end\n");
	return 0;
}
